package algorithm

import "fmt"

func Exchange(n int,m []int)  {
	x:=make([]int,len(m))
	for i,v:=range m{
		x[i]=n/v
		n=n%v
	}
	fmt.Println(n,m,x)
}
